
<?php
/**
 * Created by PhpStorm.
 * User: cape
 * Date: 2017/10/11
 * Time: 13:18
 */

function foo(&$var){
    $var++;
}


$a = 5;
foo($a);

echo "$a";


























